﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcDoiMatKhau.ascx.cs" Inherits="STT.Profile.UserControlsGV.UcDoiMatKhau" %>
<div id="biography" class="page home">
    <div style="width:80%">
         <div class="row" style="margin-top:50px">
            <div class="col-md-7">
            <h2 class="title"><span id="ctl02_DtlIndex_Label1_0">Đổi mật khẩu</span></h2>
            </div>                                 
        </div>
         <div class="row" style="margin-top:10px">
            <div class="col-md-4" style="text-align:right;">
                 <h5>Mật khẩu cũ</h5>
            </div>
             <div class="col-md-5" style="text-align:left">
                 <asp:TextBox ID="txtmkcu" runat="server" CssClass="form-control" TextMode="Password"></asp:TextBox>
                  
            </div>
             <div style="text-align:left">
                 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txtmkcu" ForeColor="Red" ToolTip="Bạn chưa nhập mật khẩu cũ." ValidationGroup="changepassword"></asp:RequiredFieldValidator>
             </div>
         </div>
         <div class="row" style="margin-top:10px">
            <div class="col-md-4" style="text-align:right;">
                 <h5>Mật khẩu mới</h5>
            </div>
             <div class="col-md-5"  style="text-align:left">
                 <asp:TextBox ID="txtmkmoi" runat="server" CssClass="form-control" TextMode="Password"></asp:TextBox>     
            </div>
             <div style="text-align:left">
                  <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="txtmkmoi" ForeColor="Red" ToolTip="Bạn chưa nhập mật khẩu mới." ValidationGroup="changepassword"></asp:RequiredFieldValidator>
             </div>
         </div>
         <div class="row" style="margin-top:10px">
            <div class="col-md-4" style="text-align:right;">
                <h5>Nhập lại mật khẩu mới</h5>
            </div>
             <div class="col-md-5" style="text-align:left" >
                 <asp:TextBox ID="txtnlmkmoi" runat="server" CssClass="form-control" TextMode="Password"></asp:TextBox>                
            </div>
             <div  style="text-align:left">
                 <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ValidationGroup="changepassword" ErrorMessage="*" ControlToValidate="txtnlmkmoi" ForeColor="Red" ToolTip="Bạn chưa nhập lại mật khẩu mới."></asp:RequiredFieldValidator>
                 <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="*" ValidationGroup="changepassword" ControlToCompare="txtmkmoi" ForeColor="Red"  ControlToValidate="txtnlmkmoi" ToolTip="Nhập lại mật khẩu sai."></asp:CompareValidator>
             </div>
         </div>
         <div class="row" style="margin-top:10px">
            <div class="col-md-4" style="text-align:right;">
               
            </div>
             <div class="col-md-5" style="text-align:left">
                  <asp:Button ID="btndoimk" runat="server" Text="Đổi mật khẩu" OnClick="btndoimk_Click"  ValidationGroup="changepassword" CssClass="btn-info btn" />
                  <asp:Button ID="btnhuy" runat="server" Text="Hủy"  CssClass="btn-info btn" OnClick="btnhuy_Click" />
            </div>
         </div>
   </div>
</div>